<?php defined('SYSPATH') or die('No direct script access.');
 
class Model_Menu extends ORM {
	protected $_table_name = 'menu';

	public function getAll($postfix) {
		return DB::select('id', array('title'.$postfix, 'title'), 'link')
			->from($this->_table_name)
			->as_object()->execute();
	}
}